package com.ld.control.business.process.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 任务流程实例扩展信息
 * </p>
 *
 * @author wangfeng
 * @since 2024-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("process_example_ext")
@Schema(description = "ProcessExampleExtModel对象")
public class ProcessExampleExtModel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "流程实例id")
    private Long processExampleId;

    @Schema(description = "完整的流程模板json数据")
    private String allNodeInfo;


    public static final String ID = "id";

    public static final String PROCESS_EXAMPLE_ID = "process_example_id";

    public static final String ALL_NODE_INFO = "all_node_info";

}
